/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package encaps.action;

import encaps.entities.Grant;
import java.util.Map;


public class ViewProfileActionFactory extends ActionFactory {

    public ViewProfileActionFactory(Grant requiredGrant) {
        this.requiredGrant = requiredGrant;
    }

    public Action createAction(Map parameters) {
        return new ViewProfileAction(parameters, requiredGrant);
    }

}
